.map-container {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #ffffff;
  z-index: 1001;
  overflow: hidden;
  overflow-y: auto;
  .top-banner {
    width: 100%;
    height: 58px;
    border: 1px solid #eeeeee80;
    .top-title {
      width: 369px;
      height: 100%;
      background: #10aadd;
      display: inline-flex;
      align-items: center;
      float: left;
      padding-left: 20px;
      .logo-img {
        width: 34px;
        height: 34px;
      }
      span {
        padding-left: 12px;
        font-size: 20px;
        color: #ffffff;
      }
    }
    .top-bar {
      display: inline-flex;
      float: right;
      height: 100%;
      width: calc(100% - 369px);
      padding: 0 40px 0 104px;
      .user-tips {
        display: flex;
        justify-content: flex-end;
        flex: 1;
        .user-name {
          position: relative;
          height: 58px;
          width: 117px;
          line-height: 64px;
          font-size: 16px;
          color: #10aadd;
          margin-right: 36px;
          white-space: nowrap;
          cursor: pointer;
        }
        .info-tips {
          position: relative;
          width: 20px;
          height: 58px;
          cursor: pointer;
          .warn-img {
            width: 20px;
            height: 58px;
            background: url("../assets/map-page/icon_screen_abnormal@2x.png")
              center no-repeat;
            background-size: contain;
            &:hover {
              background: url("../assets/map-page/icon_screen_abnormal_selected@2x.png")
                center no-repeat;
              background-size: contain;
            }
          }
          .badge {
            line-height: 18px;
            width: 18px;
            height: 18px;
            font-size: 12px;
            color: #ffffff;
            background: #f15656;
            border-radius: 50%;
            position: absolute;
            top: 12px;
            right: -12px;
            text-align: center;
          }
        }
      }
    }
  }
  .center-content {
    width: 100%;
    position: absolute;
    top: 58px;
    bottom: 0;
    display: flex;
    &.show-data {
      position: relative;
      height: 1042px;
      bottom: auto;
      top: auto;
    }
    .lef-side {
      position: relative;
      width: 369px;
      height: 100%;
      box-shadow: 1px 0px 5px#88888833;
      flex-shrink: 0;
      .tab {
        display: flex;
        height: 44px;
        align-items: center;
        border: 1px solid #eeeeee7a;
        cursor: pointer;
        box-shadow: 0px 1px 5px#eeeeee7a;
        user-select: none;
        .tab-item {
          position: relative;
          display: inherit;
          height: 100%;
          width: 65px;
          margin: 0 15px;
          font-size: 16px;
          color: #4a4a4a;
          align-items: center;
          justify-content: center;
          white-space: nowrap;
          &.all {
            .item-img {
              background: url("../assets/map-page/icon_screen_all.png") center
                no-repeat;
            }
            &.active,
            &:hover {
              .item-img {
                background: url("../assets/map-page/icon_screen_all_selected.png")
                  center no-repeat;
              }
            }
          }
          &.online {
            .item-img {
              background: url("../assets/map-page/icon_screen_online.png")
                center no-repeat;
            }
            &.active,
            &:hover {
              .item-img {
                background: url("../assets/map-page/icon_screen_online_selected.png")
                  center no-repeat;
              }
            }
          }
          &.offline {
            .item-img {
              background: url("../assets/map-page/icon_screen_offline.png")
                center no-repeat;
            }
            &.active,
            &:hover {
              .item-img {
                background: url("../assets/map-page/icon_screen_offline_selected.png")
                  center no-repeat;
              }
            }
          }
          &.abnormal {
            .item-img {
              background: url("../assets/map-page/icon_screen_abnormal.png")
                center no-repeat;
            }
            &.active,
            &:hover {
              .item-img {
                background: url("../assets/map-page/icon_screen_abnormal_selected.png")
                  center no-repeat;
              }
            }
          }
          &.collection {
            .item-img {
              background: url("../assets/map-page/icon_screen_collection.png")
                center no-repeat;
            }

            &.active,
            &:hover {
              .item-img {
                background: url("../assets/map-page/icon_screen_collection_selected.png")
                  center no-repeat;
              }
            }
          }
          &.more {
            .item-img {
              background: url("../assets/map-page/icon_screen_more.png") center
                no-repeat;
            }
            &.active,
            &:hover {
              .item-img {
                background: url("../assets/map-page/icon_screen_more_selected.png")
                  center no-repeat;
              }
            }
          }
          .item-img {
            margin-right: 3px;
            width: 19px;
            height: 19px;
          }
          &:hover {
            color: #10aadd;
          }
          &.active {
            margin-bottom: -1px;
            color: #10aadd;
            border-bottom: 3px solid #10aadd;
          }
          &.gun {
            &::after {
              content: "";
              position: absolute;
              top: 50%;
              right: -15px;
              width: 1px;
              height: 28px;
              background: #e4e4e4;
              transform: translateY(-14px);
            }
          }
        }
      }
      .search {
        padding: 13px 15px;
        box-shadow: 0px 1px 5px#eeeeee7a;
        display: flex;
        align-items: center;
        justify-content: space-between;
        /deep/ .el-input--mini .el-input__inner {
          height: 36px;
          line-height: 36px;
          background: #9999991a;
        }
        /deep/ .el-input--mini .el-input__icon {
          line-height: 36px;
        }
        .stat-btn {
          height: 36px;
          width: 55px;
          margin-left: 5px;
          padding: 7px 8px;
        }
      }
      .station-list {
        position: relative;
        height: calc(100% - 108px);
        overflow: hidden;
        // overflow-y: scroll;
        &::-webkit-scrollbar {
          width: 3px;
          border-radius: 50%;
        }
        &::-webkit-scrollbar-thumb {
          background-color: #0000004d;
        }
        .station-item {
          width: 100%;
          min-height: 129.5px;
          display: flex;
          flex-direction: column;
          border-bottom: 1px solid #97979729;
          padding: 15px 0 15px 0;
          cursor: pointer;
          &:hover {
            background: #9999991a;
          }
          &.active {
            background: #10aadd0f;
          }
          .title {
            height: 22px;
            padding: 0 20px;
            display: inherit;
            align-items: center;
            position: relative;
            span {
              font-size: 16px;
              color: #000000;
              flex: 1;
              padding-left: 4.5px;
              font-weight: 600;
            }
            .marker-img {
              width: 19.5px;
              height: 23.7px;
              &.fault {
                background: url("../assets/map-page/icon_list_fault.png") center
                  no-repeat;
                background-size: contain;
              }
              &.online {
                background: url("../assets/map-page/icon_list_online.png")
                  center no-repeat;
                background-size: contain;
              }
              &.offline {
                background: url("../assets/map-page/icon_list_offline.png")
                  center no-repeat;
                background-size: contain;
              }
            }
            .typeCode {
              position: absolute;
              left: 27px;
              top: 2px;
              font-size: 10px;
              color: #878888;
              zoom: 0.78;
              width: 21px;
              text-align: center;
              height: 21px;
              line-height: 21px;
            }
            .star-img {
              width: 16px;
              height: 16px;
              background: url("../assets/map-page/icon_screen_collection.png")
                center no-repeat;
              background-size: contain;
              &:hover {
                background: url("../assets/map-page/icon_screen_collection_selected.png")
                  center no-repeat;
                background-size: contain;
              }
              &.select {
                background: url("../assets/map-page/icon_open_collection_selected.png")
                  center no-repeat;
                background-size: contain;
              }
            }
            // .type {
            //   position: absolute;
            //   left: 0;
            //   top: 0;
            //   font-size: 10px;
            //   zoom: 0.8;
            // }
          }
          .pic-icon {
            font-size: 20px;
          }
          .content {
            position: relative;
            padding: 4px 16.5px 0 44px;
            .row {
              margin-bottom: 4px;
              min-height: 17px;
              font-size: 12px;
              line-height: 17px;
              .name {
                color: #8d8d8d;
              }
              .value {
                color: #000000;
              }
              .gun {
                display: inline-block;
                width: 18px;
                text-align: center;
                color: #8d8d8d;
              }
            }
            .row:first-child {
              margin-bottom: 15px;
            }
          }
        }
        .nodata {
          width: 100%;
          text-align: center;
          color: #8d8d8d;
        }
        .loaddata {
          width: 100%;
          height: 30px;
          color: #8d8d8d;
          text-align: center;
          span {
            font-size: 14px;
            margin-top: 40px;
          }
          span::after {
            content: ".";
            animation: loading 2s ease infinite;
            -webkit-animation: loading 2s ease infinite;
          }
          @keyframes loading {
            33% {
              content: "..";
            }
            66% {
              content: "...";
            }
          }
        }
      }
    }
    .data-view {
      padding: 23px 23px 0;
      width: 369px;
      flex-shrink: 0;
      box-shadow: 1px 0px 5px#88888833;
      color: #4a4a4a;
      overflow: hidden;
      overflow-y: scroll;
      &::-webkit-scrollbar {
        display: none;
      }
      .title {
        font-size: 18px;
        font-weight: 550;
      }
      .middle-content {
        display: flex;
        margin-top: 20px;
        justify-content: space-between;
        align-items: flex-end;
        .order-cols {
          width: 190px;
          height: 160px;
          display: flex;
          justify-content: space-around;
          align-items: flex-end;
          background: url("../assets/map-page/home_data_chart_bg.png") center
            no-repeat;
          background-size: contain;
          .col {
            width: 28px;
            height: 50px;
            border-radius: 2px;
            &.yellow {
              background: #ffc539;
            }
            &.green {
              background: #32c7f8;
            }
            &.blue {
              background: #10aadd;
            }
          }
        }
        .order-nums {
          height: 209px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          text-align: right;
          font-size: 14px;
          .num {
            font-size: 30px;
            margin-bottom: 3px;
            &.yellow {
              color: #ffc539;
            }
            &.green {
              color: #32c7f8;
            }
            &.blue {
              color: #10aadd;
            }
          }
        }
      }
      .bottom-content {
        margin-top: 20px;
        overflow: hidden;
        .order-list {
          margin-top: 10px;
          height: 640px;
          font-size: 14px;
          overflow: hidden;
          &::-webkit-scrollbar {
            width: 3px;
          }
          &::-webkit-scrollbar-thumb {
            background-color: #0000004d;
          }
          .order-item {
            width: 100%;
            display: flex;
            align-items: center;
            padding: 20px 0;
            border-bottom: 1px solid #97979729;
            .order-img {
              width: 36px;
              height: 36px;
              margin-right: 20px;
              &.warning {
                background: url("../assets/map-page/home_list_icon_warning@2x.png")
                  center no-repeat;
                background-size: contain;
              }
              &.attention {
                background: url("../assets/map-page/home_list_icon_attention@2x.png")
                  center no-repeat;
                background-size: contain;
              }
            }
            .order-content {
              flex: 1;
              .pt {
                display: flex;
                margin-bottom: 5px;
                .pos {
                  flex: 1;
                  font-size: 16px;
                  color: #000000;
                }
              }
              .sua {
                padding: 0 7px;
              }
              .num {
                font-size: 21px;
              }
              .cm {
                font-size: 16px;
              }
              .red {
                color: #e41f1ffc;
              }
            }
          }
        }
      }
    }
  }
  .under-content {
    position: relative;
    padding: 20px 20px 0;
    width: 100%;
    height: 412px;
    display: flex;
    box-shadow: 0px -1px 5px#88888833;
    z-index: 1;
    .title {
      font-size: 18px;
      font-weight: 550;
      margin-bottom: 20px;
    }
    .type-analyse {
      flex: 0 0 60%;
      .time-selects {
        display: flex;
        .date-pk {
          width: 254px;
        }
      }
      .tips {
        margin-top: 10px;
        font-size: 12px;
        color: #8d8d8d;
      }
    }
    .trend-analyse {
      flex: 0 0 35%;
      margin-left: 5%;
      .tips {
        height: 55px;
        line-height: 55px;
        font-size: 12px;
        color: #8d8d8d;
      }
    }
  }
  .right-side {
    position: absolute;
    background: #fff;
    top: 58px;
    right: 0;
    height: 1042px;
    width: 370px;
    padding: 20px 24px 0;
    box-shadow: -1px 0 5px#88888833;
    .title {
      font-size: 18px;
      font-weight: 550;
    }
    .r-ss {
      margin-top: 30px;
      .ss-item {
        width: 100%;
        text-align: center;
        margin-bottom: 55px;
      }
      .ss-icon {
        width: 44px;
        height: 44px;
        display: inline-block;
        &.warning {
          background: url("../assets/map-page/home_list_icon_warning@2x.png")
            center no-repeat;
          background-size: contain;
        }
        &.attention {
          background: url("../assets/map-page/home_list_icon_attention@2x.png")
            center no-repeat;
          background-size: contain;
        }
        &.online {
          background: url("../assets/map-page/home_data_icon_online@2x.png")
            center no-repeat;
          background-size: contain;
        }
        &.offline {
          background: url("../assets/map-page/home_data_icon_offline@2x.png")
            center no-repeat;
          background-size: contain;
        }
      }
      .ss-num {
        font-size: 60px;
        width: 108px;
        display: inline-block;
        text-align: left;
        margin-left: 20px;
        &.wa {
          color: #fd634f;
        }
        &.at {
          color: #f7bc31;
        }
        &.off {
          color: #6b6b6b;
        }
        &.on {
          color: #10aadd;
        }
      }
      .ss-info {
        font-size: 14px;
        color: #4a4a4a;
      }
    }
  }
  .head-content {
    .num-group {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
      font-size: 14px;
      .item {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        white-space: nowrap;
        .num {
          font-size: 36px;
        }
        .up {
          font-size: 16px;
          color: #fd634f;
        }
        .down {
          font-size: 16px;
          color: #6db650;
        }
      }
    }
  }
}

@media screen and (max-width: 1900px) {
  .right-station-info {
    width: 343px;
  }
  .w562 {
    width: 562px;
  }
  .map-container .top-banner .top-title,
  .map-container .center-content .lef-side,
  .map-container .center-content .data-view {
    width: 320px;
  }
  .map-container .center-content .lef-side .tab .tab-item {
    font-size: 13px;
  }
  .map-container .right-side {
    width: 340px;
  }
  .map-container .top-banner .top-bar {
    width: calc(100% - 320px);
  }
  .map-container
    .center-content
    .lef-side
    .station-list
    .station-item
    .title
    .typeCode {
    left: 28px;
  }
}
